package com.kma.summer2012.dao;

import com.kma.summer2012.model.CrumbsDateAndTime;

import java.sql.SQLException;
import java.util.Collection;
import java.util.List;

public interface CrumbsDateAndTimeDAO extends DAO<CrumbsDateAndTime> {
    public void add(CrumbsDateAndTime o) throws SQLException;

    public CrumbsDateAndTime addDate(CrumbsDateAndTime o) throws SQLException;

    public void update(CrumbsDateAndTime o) throws SQLException;

    public CrumbsDateAndTime getById(int id) throws SQLException;

    public Collection<CrumbsDateAndTime> getAll() throws SQLException;

    public void delete(CrumbsDateAndTime o) throws SQLException;

    public List<CrumbsDateAndTime> getByRequestId(int id) throws SQLException;
}
